#ifndef PLAYSTATE_H
#define PLAYSTATE_H

#include "GameState.h"
#include "NonCopyable.h"
#include "Singleton.h"
#include "Wheel.h"
#include "Car.h"
#include "Texture.h"
#include "Camera.h"
//#include "Gameobject.h"

#include <sstream>
#include <vector>

class PlayState : public GameState, public NonCopyable
{
private:
	PlayState();
	friend class Singleton<PlayState>;
public:

	virtual void Update();
	virtual void Draw();

	void CleanUp();
	void CheckForErrors();

/////////////////////////////////
/////////////////debug text//////
	std::string GetPosX();
	std::string GetPosY();
	std::string GetPosZ();

	std::string GetVelX();
	std::string GetVelY();
	std::string GetVelZ();

	std::string GetCamX();
	std::string GetCamY();
	std::string GetCamZ();
		
	void PrintText(int x, int y, const std::string& s);
///////////////////////////////////

private:
	//bool		m_viewA;
	//bool		m_viewS;

	//Wheel		m_wheel;
	Texture		m_texture;

};

typedef Singleton<PlayState> ThePlayState;


#endif
